package com.example.mymall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Getter
@Setter
@Accessors(chain = true)
public class UserGoodsCartVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 购物车id
     */
    @TableField("id")
    private Integer id;

    /**
     * 商品id
     */
    @TableField("goodsid")
    private Integer goodsid;

    /**
     * 用户id
     */
    @TableField("userid")
    private Integer userid;

    @TableField("username")
    private String username;

    @TableField("heamimg")
    private String headimg;

    @TableField("phone")
    private String phone;

    @TableField("realname")
    private String realname;

    @TableField("goodsname")
    private String goodsname;

    @TableField("context")
    private String context;

    @TableField("price")
    private double price;

    @TableField("picture")
    private String picture;
}
